<?php

require_once(dirname(__FILE__). '\\' . 'message\\pb_message.php');

class LoginRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    $this->fields["1"] = "PBInt";
    $this->values["1"] = "";
    $this->fields["2"] = "PBInt";
    $this->values["2"] = "";
    $this->fields["3"] = "PBString";
    $this->values["3"] = "";
    $this->fields["4"] = "PBString";
    $this->values["4"] = "";
    $this->fields["5"] = "PBString";
    $this->values["5"] = "";
    $this->fields["6"] = "PBString";
    $this->values["6"] = "";
    $this->fields["7"] = "PBInt";
    $this->values["7"] = "";
  }
  function bid()
  {
    return $this->_get_value("1");
  }
  function set_bid($value)
  {
    return $this->_set_value("1", $value);
  }
  function uid()
  {
    return $this->_get_value("2");
  }
  function set_uid($value)
  {
    return $this->_set_value("2", $value);
  }
  function passwd()
  {
    return $this->_get_value("3");
  }
  function set_passwd($value)
  {
    return $this->_set_value("3", $value);
  }
  function uname()
  {
    return $this->_get_value("4");
  }
  function set_uname($value)
  {
    return $this->_set_value("4", $value);
  }
  function mobile()
  {
    return $this->_get_value("5");
  }
  function set_mobile($value)
  {
    return $this->_set_value("5", $value);
  }
  function xverify()
  {
    return $this->_get_value("6");
  }
  function set_xverify($value)
  {
    return $this->_set_value("6", $value);
  }
  function sea()
  {
    return $this->_get_value("7");
  }
  function set_sea($value)
  {
    return $this->_set_value("7", $value);
  }
}
class LoginReply extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    $this->fields["1"] = "PBInt";
    $this->values["1"] = "";
  }
  function ret()
  {
    return $this->_get_value("1");
  }
  function set_ret($value)
  {
    return $this->_set_value("1", $value);
  }
}
?>